package com.sh.rbac.domain.dto.user;

import com.sh.rbac.core.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

 /** 
 * @since 2024-04-04 22:24
 */
@EqualsAndHashCode(callSuper = true)
@Schema(description = "用户修改实体类")
@Data
public class UserUpdateDTO extends BaseDTO {

    @Schema(description = "部门ID")
    private Long deptId;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "用户性别;0-男,1-女,2-未知")
    private Integer sex;

    @Schema(description = "角色ID集合")
    private List<Long> roleIds;
}
